Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add footer & home UI #24

Merged
merged 4 commits into from
Nov 1, 2024
Merged

feat: add footer & home UI #24

merged 4 commits into from
Nov 1, 2024

Conversation

limsohee1002
Copy link

@limsohee1002 limsohee1002 commented Oct 31, 2024

Description

add footer
add homepage

Type(s) of changes

  • Bug fix
  • New feature
  • Update to an existing feature

Motivation for PR

#10 #8

How Has This Been Tested?

Applicable screenshots

https://www.loom.com/share/7f2b07b5caaf47598bc61b688403f40c?sid=0b2b7cd6-8f1d-4712-aec8-54b48f7081fa

Follow-up PR

@limsohee1002 limsohee1002 marked this pull request as ready for review October 31, 2024 21:13
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we move this to svg/Icons? I think it is better to have unified system for saving the icons!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was having issue having it all together. I think it is some kind of compile issue. Once I put too many icons in one file, it stops rendering nav and footer and svg icons gets render different icons

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay! maybe it's better then making all components having Icons they are using inside the folders. Let's add TODO about cleaning up the svg icon files for later!

Comment on lines +17 to +41
cards: [
{
icon: 'graduationCap',
title: 'Read FAQs',
description: 'Get more information on basic terms and how the Uniswap app works',
color: 'pink',
},
{
icon: 'lightbulb',
title: 'How to use Uniswap',
description: 'Get more information on basic terms and how the Uniswap web app works',
color: 'green',
},
{
icon: 'helpCircle',
title: 'Troubleshoot an issue',
description: 'Explore our guides for help troubleshooting issues',
color: 'blue',
},
{
icon: 'messageQuestion',
title: 'Submit a Request',
description: 'If you’re having trouble you can contact our helpful team',
color: 'orange',
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we also add 'link' field to this object? need to check with Sam, but i think these cards block items will be linked to article pages except for the 'submit a request' card which will be linked to 'https://support.uniswap.org/hc/en-us/requests/new'. Let's skip adding hover state for each items now and address it during the QA!!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will handle this in following PR!

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds good!

@limsohee1002 limsohee1002 requested a review from nahbee10 November 1, 2024 19:08
Comment on lines +163 to +173
<a
href={url}
className="col-span-4 group relative transition rounded-medium py-padding-small px-padding-medium bg-light-surface-2 dark:bg-dark-surface-2 hover:bg-light-accent-2 hover:dark:bg-dark-accent-2"
target="_self"
>
<div className="absolute top-0 right-0 transition z-10 py-padding-small px-padding-medium opacity-0 group-hover:opacity-100">
<ArrowRight className="my-1 w-5 h-5" />
</div>
<h4 className="transition subheading-2 text-light-neutral-1 dark:text-dark-neutral-1 group-hover:text-light-pink-vibrant dark:group-hover:text-dark-pink-vibrant">
{title}
</h4>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we add some padding or separate the grid between description text and the icon so that they are not overlapped like the design?
Current:
Screenshot 2024-11-01 at 3 16 47 PM

Design:
Screenshot 2024-11-01 at 3 16 37 PM

Comment on lines +36 to +41
<h2 className="flex flex-col items-center text-light-neutral-1 dark:text-dark-neutral-1">
<span className="heading-0-mobile sm:heading-0">{homepageData.hero.headerLine1}</span>
<span className="serif-heading-0-mobile sm:serif-heading-0 italic">
{homepageData.hero.headerLine2}
</span>
</h2>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry for requesting this now, Sohee. In the yesterday's meeting, they said they want to switch the copy of homepage hero randomly between two options. could you change this so that there will be two hero copies and rendered one of them chosen randomly? Updates on design is linked here: https://www.figma.com/design/OjF353pKdQ7XtoU3LIQOxY/%5BShared%5D-Uniswap%2FXXIX-Design-Review?node-id=1454-5367&m=dev

Screenshot 2024-11-01 at 3 17 23 PM

@nahbee10
Copy link

nahbee10 commented Nov 1, 2024

@limsohee1002 requested few more things after checking the preview!!

@limsohee1002
Copy link
Author

@nahbee10 I will handle those in following PR! I am working off of this right now to make sure everything renders correctly. I don't want to create too much conflict 🙏

@nahbee10 nahbee10 merged commit 3624731 into master Nov 1, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants